<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>后盾招聘注册-教学项目</title>
	<script type='text/javascript' src='http://localhost/hdjob/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://localhost/hdjob/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://localhost/hdjob/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://localhost/hdjob/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://localhost/hdjob/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
HOST = '<?php echo $GLOBALS['user']['HOST'];?>';
ROOT = '<?php echo $GLOBALS['user']['ROOT'];?>';
WEB = '<?php echo $GLOBALS['user']['WEB'];?>';
URL = '<?php echo $GLOBALS['user']['URL'];?>';
HDPHP = '<?php echo $GLOBALS['user']['HDPHP'];?>';
HDPHPDATA = '<?php echo $GLOBALS['user']['HDPHPDATA'];?>';
HDPHPTPL = '<?php echo $GLOBALS['user']['HDPHPTPL'];?>';
HDPHPEXTEND = '<?php echo $GLOBALS['user']['HDPHPEXTEND'];?>';
APP = '<?php echo $GLOBALS['user']['APP'];?>';
CONTROL = '<?php echo $GLOBALS['user']['CONTROL'];?>';
METH = '<?php echo $GLOBALS['user']['METH'];?>';
GROUP = '<?php echo $GLOBALS['user']['GROUP'];?>';
TPL = '<?php echo $GLOBALS['user']['TPL'];?>';
CONTROLTPL = '<?php echo $GLOBALS['user']['CONTROLTPL'];?>';
STATIC = '<?php echo $GLOBALS['user']['STATIC'];?>';
PUBLIC = '<?php echo $GLOBALS['user']['PUBLIC'];?>';
HISTORY = '<?php echo $GLOBALS['user']['HISTORY'];?>';
HTTPREFERER = '<?php echo $GLOBALS['user']['HTTPREFERER'];?>';
</script>
	<link rel="stylesheet" href="http://localhost/hdjob/Static/CSS/reg.css" />
	</script>
	<script type="text/javascript">
	$(function(){
		$('reg-form').validate({
			//要验证的name的名称
			username : {
				//规则
				rule : {
					required : true,
					user 	 : '5,20',
					ajax	 : CONTROL + '&m=ajax_check_user'
				},
				//错误提示
				error   : {
					required : '用户名必填',
					user 	 : '用户名格式不正确',
					ajax 	 : '用户名已注册'
				},
				message : '用户名必填',
				// 成功提示
				success : '用户名填写正确'
			},
			//要验证的name的名称,,邮箱
			usermail : {
				//规则
				rule : {
					required : true,
					email 	 : true
				},
				//错误提示
				error   : {
					required : '邮箱必填',
					email 	 : '邮箱格式不正确'
				},
				message : '邮箱必填',
				// 成功提示
				success : '邮箱填写正确'
			},
			//密码
			password : {
				//规则
				rule : {
					required : true,
					minlen 	 : 8
				},
				//错误提示
				error   : {
					required : '密码必填',
					minlen 	 : '密码最少8位'
				},
				message : '密码必填',
				// 成功提示
				success : '密码填写正确'
			},
			//密码2
			passwordc : {
				//规则
				rule : {
					required : true,
					confirm  : 'password'
				},
				//错误提示
				error   : {
					required : '密码必填',
					confirm  : '两次密码不一样'
				},
				message : '密码必填',
				// 成功提示
				success : '密码填写正确'
			}
		})
	})
	</script>

	<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?>	<link rel="stylesheet" type="text/css" href="http://localhost/hdjob/Static/Css/style.css" />
	<link rel="stylesheet" type="text/css" href="http://localhost/hdjob/Static/Css/common.css">
	<script type="text/javascript" src="http://localhost/hdjob/Static/Js/backTop.js"></script>
</head>
<body>

<!-- 载入公共头部 -->
	<!-- 最顶部灰色条开始 -->
	<div class="head_top">
		<div class="head_top_box">
			<!-- 左边盒子 -->
				<?php if(isset($_SESSION['uid']) && isset($_SESSION['username'])){?>
				<!-- 登录以后 -->
				<div class="head_top_l">
					<span class="top_login">
						欢迎    
						<a href="" class="name" style="color:#339900"><?php echo $_SESSION['username'];?></a>
					   登录！  
					   <?php if($_SESSION["rid"] == 1){?>  
					   <a href="<?php echo U('People/Index/index');?>" style="color:#0066CC">[会员中心]</a>
					   <?php  }else{ ?>
					    <a href="<?php echo U('Company/Index/index');?>" style="color:#0066CC">[会员中心]</a>
						<?php }?>
					   <a href="<?php echo U('Member/Login/out');?>" style="color:#0066CC">[退出]</a>
					</span>
				</div>
				<?php  }else{ ?>
				<!-- 未登录 -->
				<div class="head_top_l">
					<span class="top_login">
					欢迎来到PHP招聘网！   
						<a href="<?php echo U('Member/Login/index');?>">[登录]</a>
						<a href="<?php echo U('Member/Register/index');?>">[免费注册]</a>
					</span>
				</div>
			<?php }?>
			<!-- 左边盒子结束 -->
		</div>
	</div>
	<!-- 最顶部灰色条结束 -->
		<!-- 头部开始 -->
	<div class="head">
		<a href="http://localhost/hdjob" class="logo"><img src="http://localhost/hdjob/Static/images/logo_front.png" alt="" /></a>
	</div>
  
	<!-- 会员注册开始 -->
	<div class="reg-box">
		<div class="box-bar">
			<?php if($_GET["type"] == 1){?>
			<h2>个人会员注册</h2>
			<p>切换至<a href="<?php echo U('Register/register',array('type'=>2));?>">企业会员</a>注册</p>
			<?php  }else{ ?>
			<h2>企业会员注册</h2>
			<p>切换至<a href="<?php echo U('Register/register',array('type'=>1));?>">个人会员</a>注册</p>
			<?php }?>
		</div>
		<form action="<?php echo U('Register/register');?>" class="reg-form" method="POST">
			<label for="">用户名：<input type="text" name="username" id="" /></label>
			<label for="">常用电子邮箱：<input type="text" name="usermail" id="" /></label>
			<label for="">设置登录密码：<input type="password" name="password" id="" /></label>
			<label for="">确认登录密码：<input type="password" name="passwordc" id="" /></label>
			<label for="">
				<span class="already">我已阅读并同意&nbsp<a href="">[注册协议]</a></span>
				<input type="checkbox" name="deal" id="form-check" checked="checked" value="1"/>
			</label>
			<label for=""><input type="submit" name="" class="but" value="立即注册"/></label>
			<input type="hidden" name="rid" value="<?php echo $_GET['type'];?>"/>
		</form>
		<div class="reg-right">
			<div class="right-box">
				<h2>已经有账号？</h2>
				<a href="" class="but">立刻登录</a>
				<span>企业会员</span>
				<p>发布招聘信息，查看人才简历，搜索简历...</p>
				<span class="box-down-span">个人会员 </span>
				<p class="box-down-p">填写个人简历，在线申请职位，搜索职位... </p>
			</div>
		</div>
	</div>
	<!-- 会员注册结束 -->

<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!-- 页脚开始 -->
	<div class="footer">
		<!-- 设为首页 -->
		<div class="set">
			<a href="">网站首页</a>
			 | 
			<a href="">关于我们</a>
			 | 
			<a href="">免责声明</a>
			 | 
			<a href="">隐私声明</a>
			 | 
			<a href="">广告服务</a>
			 | 
			<a href="">帮助中心</a>
		</div>
		<!-- 设为首页结束 -->
		<!-- 欢迎加入php群开始 -->
		<div class="wec">
			 欢迎加入PHP交流群 
			 410004417
			  网站备案：<a href="" class="yue">京ICP备*******号-* </a>
			
			  <a href="">
			  	<img src="http://localhost/hdjob/Static/images/pic.gif" alt="" />
			  </a>
		</div>
		<!-- 欢迎加入php群结束 -->
		<!-- 温馨提示开始 -->
		<div class="rem">
			温馨提示：招聘单位无权收取任何费用，请求职者加强自我保护意，按照相关劳动法规保护自身权益，警惕虚假招聘，避免上当受骗
			<br />
			Copyright @ 2011-2015  houdunwang.com  All Right Reserved   本网站部分内容只转载原作的部分内容，若有异议，请与本站负责人联系，我们将予以改正！ 
		</div>
		<!-- 温馨提示结束 -->
	</div>
	<!-- 页脚结束 -->
</body>
</html>

<!-- 返回顶部开始 -->
<div class="backtop_box">
	<a href="javascript:vido(0)" class="backtop"></a>
</div>
<!-- 返回顶部结束 -->